package cn.baddonkey.photography.agent.entity.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class RegisterBody {
    /** 用户名 */
    @Size(max = 30, message = "用户名不能超过30字符")
    @NotEmpty(message = "用户名不能为空")
    private String username;

    /** 用户密码 */
    @Size(max = 16, message = "密码不能超过16字符")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "验证码不能为空")
    private String captchaVerification;
}
